<?php
    $ocategory = $template->get('ocategory');
?>
<ol class="breadcrumb">
    <li><a href="<?php echo $template->url->getLink('admin/category');?>">category</a></li>
    <li class="active"><a href="<?php echo $template->url->getLink('admin/category/edit');?>">Edit</a></li>
</ol>

<form action="" role="form" method="POST">
    <div class="panel panel-primary">
        <div class="panel-heading">Chỉnh sửa Danh Mục</div>
        <div class="panel-body">
            <div class="form-group">
                <label>Title</label>
                <input type="text" name="val[title]" class="form-control" value="<?php echo $ocategory->title; ?>">    
            </div>
    
            <button type="submit" class="btn btn-primary">Submit</button>
        </div>
    </div>
</form>
